package crm.entity;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

/**
 * SysRoot entity. @author MyEclipse Persistence Tools
 */

public class SysRoot implements java.io.Serializable {

	// Fields

	private BigDecimal rightCode;
	private String rightParentCode;
	private String rightText;
	private Set sysRoleRights = new HashSet(0);

	// Constructors

	/** default constructor */
	public SysRoot() {
	}

	/** full constructor */
	public SysRoot(String rightParentCode, String rightText, Set sysRoleRights) {
		this.rightParentCode = rightParentCode;
		this.rightText = rightText;
		this.sysRoleRights = sysRoleRights;
	}

	// Property accessors

	public BigDecimal getRightCode() {
		return this.rightCode;
	}

	public void setRightCode(BigDecimal rightCode) {
		this.rightCode = rightCode;
	}

	public String getRightParentCode() {
		return this.rightParentCode;
	}

	public void setRightParentCode(String rightParentCode) {
		this.rightParentCode = rightParentCode;
	}

	public String getRightText() {
		return this.rightText;
	}

	public void setRightText(String rightText) {
		this.rightText = rightText;
	}

	public Set getSysRoleRights() {
		return this.sysRoleRights;
	}

	public void setSysRoleRights(Set sysRoleRights) {
		this.sysRoleRights = sysRoleRights;
	}

}